﻿using System;
using System.Collections.Generic;
using System.Text;

namespace JieKou.Modbus
{
    public class WriteData
    {
        public class WriteDataValue
        {
            public int startingAddress { get; set; }

            public byte unitIdentifier { get; set; }

            public object values { get; set; } = 0;

        }
        public class WriteDataBool
        {
            public int startingAddress { get; set; }

            public byte unitIdentifier { get; set; }

            public bool values { get; set; } = false;

        }
    }


    public class ReadLongData
    {
        public int startingAddress { get; set; }
        public byte unitIdentifier { get; set; }
        public int length { get; set; }
    }
}
